package org.top10.executor;


import org.w3c.dom.Document;

public class ParseSource {
	private static final long CACHE_OUTDate=1000*60*60*12;//过了12小时就算失效
	private Document docSource;
	private long lastTime;
	private String textSource;
	private String url;
	
	public ParseSource(Document c,String text,String u){
		this.docSource=c;
		this.textSource=text;
		this.url=u;
		lastTime=System.currentTimeMillis()+CACHE_OUTDate;//过期时间
	}
	public Document getDocSource() {
		return docSource;
	}
	public void setDocSource(Document docSource) {
		this.docSource = docSource;
	}
	public long getLastTime() {
		return lastTime;
	}
	public String getTextSource() {
		return textSource;
	}
	public void setTextSource(String textSource) {
		this.textSource = textSource;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
}
